#![cfg_attr(debug_assertions, allow(dead_code, unused_imports, unused_variables, unused_mut))]
use std::error::Error;
mod my_serial;
mod sized_test;
mod test;
use my_commons::*;

fn main() -> Result<(), Box<dyn Error>> {
    let _clred = my_set_tty_colored();

    my_prt_sys_info();
    //my_is_running_in_cmd();

    //================================
    my_sep();
    #[cfg(any())]
    my_serial::tt()?;

    //================================
    my_sep();
    #[cfg(any())]
    sized_test::tt();

    //================================
    my_sep();
    test::tt()?;

    //================================
    my_pause();
    Ok(())
}
